﻿using Nop.Web.Models.Security;
using System.Collections.Generic;

namespace Nop.Web.Models.Common
{
    public class OrganizationListModel
    {
        public OrganizationListModel() {
            this.OrganizationTypes = new List<MenuModel>();
        }
        public string Name { get; set; }
        public int OrganizationType { get; set; }
        public IList<MenuModel> OrganizationTypes { get; set; }
    }
    public class OrganizationModel
    {
        public int key { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 开户行
        /// </summary>
        public string Bank { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string ContactName { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string ContactWay { get; set; }
        /// <summary>
        /// 单位类型
        /// </summary>
        public int[] OrganizationTypeIds { get; set; }
        public string OrganizationTypeNames { get; set; }
        public bool Active { get; set; }
    }
}